<script type="text/javascript" >
    stSocialMediaToolbox.load_tooltip();
    stSocialMediaToolboxCustom.on_submitform_new('#stFacebookToolboxForm');
    stSocialMediaToolbox.loadUploadButton('200');
    stSocialMediaToolbox.loadRemoveButton();
   
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
        <form class="stform" id="stFacebookToolboxForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
            <ul>
                <li>
                    <label><?php _e('Facebook App ID', $config['plugin_name']); ?>:</label>
                    <div class="required">
                        <input value="<?php echo $user_result->app_id;?>" class="required" name="data[app_id]" id="app_id" type="text"  />
                        <input value="<?php echo $user;?>" class="required" name="data[user_id]" id="user_id" type="hidden" />
                        <input value="<?php echo $username;?>" class="required" name="data[username]" id="username" type="hidden" />
                    </div>
                    <br clear="both" />
                </li>
                
                <li>
                    <label><?php _e('Facebook Secrect Key', $config['plugin_name']); ?>:</label>
                    <div class="required">
                        <input value="<?php echo $user_result->secrect;?>" class="required" name="data[secrect]" id="secrect" type="text"  />
                       
                    </div>
                    <br clear="both" />
                </li>
               <li>
                    <input type="submit" value="Save"/>
                </li>

          
            </ul>
           
        </form>
    </div>
</div>
